﻿Public Class FormAdministrador

    Private Sub cboGestionar_SelectedValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboGestionar.SelectedValueChanged
        If cboGestionar.SelectedIndex = 0 Then
            FormAdmClientes.ShowDialog()
            Exit Sub
        End If
        If cboGestionar.SelectedIndex = 1 Then
            FormAdmPedidos.ShowDialog()
            Exit Sub
        End If
        If cboGestionar.SelectedIndex = 2 Then
            FormAdmMesas.ShowDialog()
            Exit Sub
        End If
        If cboGestionar.SelectedIndex = 3 Then
            FormAdmProductos.ShowDialog()
            Exit Sub
        End If
        If cboGestionar.SelectedIndex = 4 Then
            FormAdmOfertas.ShowDialog()
            Exit Sub
        End If
        If cboGestionar.SelectedIndex = 7 Then
            Me.Close()
            Exit Sub
        End If

    End Sub

End Class